// 年度列表--搜索字段
export const indexSearchData = [
  {
    key: 'hospitalCode',
    title: '请输入医院编码',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'hospitalName',
    title: '请输入医院名称',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'hospitalNature',
    title: '医院性质',
    type: 'select',
    attr: {
      placeholder: '请选择',
    },
    options: [
      {
        label: '公立',
        value: '1',
      },
      {
        label: '民营',
        value: '2',
      },
      {
        label: '其他',
        value: '3',
      },
    ],
  },
  {
    key: 'validState',
    title: '是否有效',
    type: 'select',
    attr: {
      placeholder: '请选择',
    },
    options: [
      {
        label: '有效',
        value: '0',
      },
      {
        label: '无效',
        value: '1',
      },
    ],
  },
];
// 年度列表--列表表头
export const columnsTable = [
  {
    width: '40',
    fixed: 'left',
    type: 'selection',
  },
  {
    type: 'index',
    label: '序号',
    width: 100,
    align: 'center',
  },
  {
    prop: 'hospitalCode',
    label: '医院编码',
    width: 100,
    'show-overflow-tooltip': true,
  },
  {
    prop: 'hospitalName',
    label: '医院名称',
    width: 270,
    'show-overflow-tooltip': true,
    align: 'center',
  },
  {
    prop: 'hospitalNature',
    label: '医院性质',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'signingStatusStr',
    label: '签约状态',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'hospitalRegisterCode',
    label: '医院登记号',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'legalPerson',
    label: '法人',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'linkMan',
    label: '联系人',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'linkPhone',
    label: '联系电话',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'address',
    label: '地址',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'validStateStr',
    label: '是否有效',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'action',
    label: '操作',
    width: 180,
    fixed: 'right',
    align: 'center',
  },
];
